Package com.cisco.pt.ipc.sim
Interface DeviceFactory
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
DeviceFactoryImpl
Information provided by the PKI file:
\class DeviceFactory
\brief The factory of devices.
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptiongetAvailableDeviceAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:getAvailableDeviceForTypeAt(DeviceType type, int index) Information provided by the PKI file:intInformation provided by the PKI file:getDescriptor(DeviceType type, String model) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
getDescriptor
Information provided by the PKI file:
\brief Returns the Descriptor of the device \param type, DeviceType \return DeviceType, the type of this device. Device types: eRouter = 0, eSwitch = 1, eCloud = 2, eBridge = 3, eHub = 4, eRepeater = 5, eCoAxialSplitter = 6, eAccessPoint = 7, ePc = 8, eServer = 9, ePrinter = 10, eWirelessRouter = 11, eIpPhone = 12, eDslModem = 13, eCableModem = 14, eRemoteNetwork = 15, eMultiLayerSwitch = 16, eLaptop = 17, eTabletPC = 18, ePda = 19, eWirelessEndDevice = 20, eWiredEndDevice = 21, eTV = 22, eHomeVoip = 23, eAnalogPhone = 24, eMultiUser = 25, eASA = 26, eIoE = 27, eHomeGateway = 28, eCellTower = 29, eCentralOfficeServer = 30, eWirelessLanController = 31, \param model, the device model in string format- Parameters:
type- Takes in a parameter of typemodel- Takes in a parameter of model- Returns:
- DeviceDescriptor Returns a DeviceDescriptor
-
getAvailableDeviceCount
int getAvailableDeviceCount()Information provided by the PKI file:
\brief Returns the number of available device type \return int, number of available device type- Returns:
- int Returns a int
-
getAvailableDeviceAt
Information provided by the PKI file:
\brief Returns the available device descriptorat a specified index \param index, a specified index \return DeviceDescriptor, DeviceDescriptor object- Parameters:
index- Takes in a parameter of index- Returns:
- DeviceDescriptor Returns a DeviceDescriptor
-
getAvailableDeviceForTypeCount
Information provided by the PKI file:
\brief Returns the available device model for a specified type \param type, DeviceType - see documentation for function getDescriptor() above \return int, the available device model for a specified type- Parameters:
type- Takes in a parameter of type- Returns:
- int Returns a int
-
getAvailableDeviceForTypeAt
Information provided by the PKI file:
\brief Returns the available device descriptor of a specified type at a specified index \param type, DeviceType - see documentation for function getDescriptor() above \param index, a specified index \return DeviceDescriptor, DeviceDescriptor object- Parameters:
type- Takes in a parameter of typeindex- Takes in a parameter of index- Returns:
- DeviceDescriptor Returns a DeviceDescriptor
-